
/**
 * jsonString 转object ，会去除转义
 * @param {*} jsonString 
 * @returns 
 */
export function parseObject(jsonString){
    if(jsonString){
        // 正则匹配去除转义符
jsonString = jsonString.replace(/[\\]/g, ''); 
var object = JSON.parse(jsonString)
console.log("parse Object",object)
return object;
        
    }
    return null;
}



export function getFirstPic(jsonString){
    if(jsonString){
        // 正则匹配去除转义符
jsonString = jsonString.replace(/[\\]/g, ''); 
var arry = JSON.parse(jsonString)
 var pic = arry[0]["fileUrl"];
 console.log("pic",pic)
return pic;
        
    }
    return null;

}

